Skip to content

gh-120345: Fix incorrect use of the :class: role with the "()" suffix#120347

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:docs-class-with-parentheses
Jun 12, 2024
Merged

gh-120345: Fix incorrect use of the :class: role with the "()" suffix#120347
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:docs-class-with-parentheses

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 11, 2024

Copy link
Copy Markdown
Member
  • Remove "()" when refer to a class as a type.
  • Use :func: when refer to a callable.
  • Fix reference to the datetime.astimezone() method.

📚 Documentation preview 📚: https://cpython-previews--120347.org.readthedocs.build/

…suffix

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the docs-class-with-parentheses branch June 12, 2024 14:23
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 12, 2024
…suffix (pythonGH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
(cherry picked from commit 92c9c6a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 12, 2024
…suffix (pythonGH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
(cherry picked from commit 92c9c6a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

bedevere-app Bot commented Jun 12, 2024

Copy link
Copy Markdown

GH-120411 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jun 12, 2024
@bedevere-app

bedevere-app Bot commented Jun 12, 2024

Copy link
Copy Markdown

GH-120412 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jun 12, 2024
serhiy-storchaka added a commit that referenced this pull request Jun 12, 2024
… suffix (GH-120347) (GH-120412)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
(cherry picked from commit 92c9c6a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jun 12, 2024
… suffix (GH-120347) (GH-120411)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
(cherry picked from commit 92c9c6a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…suffix (pythonGH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…suffix (pythonGH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…suffix (pythonGH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants